
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <BCamera>
#include <BViewer>
#include <BFrustum>

using namespace BWE;

class MainViewer : public BViewer
{
	BOBJECT(MainViewer)
public:
	MainViewer();
	~MainViewer();

	void setDebugCamera(BCamera* camera);

protected:
	virtual void postRender(BRender& render);
	virtual void resizeEvent(const BEvent& event);

private:
	BCameraHolder	_camera;
};

#endif
